package com.sky.service;

import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;

import java.util.List;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);
    int insertemployee(Employee employee);
    PageResult queryemployee(EmployeePageQueryDTO queryDTO);
    Employee selectbtid(Long id);
    int updateEmployee(Long id,Integer status);
    int updatebyid(Employee employee);
}
